YAYDP\Helper\YAYDP_Condition_Helper C

Total Complexity 123
Dependencies 2
Dependents 2
Total lines 659
Lines of code 408
Logical lines of code 286
Comment lines 197
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
check_conditions()
B
37 22 74
check_order_history_product()
A
45 12 44
check_shipping_region()
A
49 12 27
check_order_history_category()
A
46 10 38
check_combined_items()
A
49 10 31
get_cart_items_match_product()
A
49 9 29
check_orders_purchased_date()
S
51 7 27
get_cart_items_match_tag()
S
51 7 25
get_cart_items_match_category()
S
51 7 25
check_payment_method()
S
58 7 13
check_customer_role()
S
62 2 11
check_cart_item_category()
S
68 2 7
check_cart_item_tag()
S
68 2 7
check_cart_subtotal_price()
S
63 2 10
check_customer_order_count()
S
66 2 8
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_cart_item()
S
68 2 7
check_cart_quantity()
S
66 2 8
check_cart_total_weight()
S
74 1 4
check_shipping_total()
S
74 1 4